package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 故障总表对象 fault_summary
 *
 * @author 蒼飞
 * @date 2025-01-20
 */
@Data
public class FaultSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 日期 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date date;

    /** 车次 */
    @Excel(name = "车次")
    private String orders;

    /** 车号 */
    @Excel(name = "车号")
    private Long number;

    /** 故障详情 */
    @Excel(name = "故障详情")
    private String detail;

    /** 提交人 */
    @Excel(name = "提交人")
    private String submitter;

    /** 责任班组 */
    @Excel(name = "责任班组")
    private String responsibleTeam;

    /** 处理人 */
    @Excel(name = "处理人")
    private String processor;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String result;

    /** 故障推送时间 */
    @Excel(name = "故障推送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date pushTime;

    /** 创建时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private List<Date> createTimes;

    private String timeGroup;

    /** 是否重复 **/
    private Integer isRepeat;

    /** 是否匹配成功 **/
    private Integer isFail;

    /** 关键字 **/
    private String key;

    private String orderByColumn;

    private String isAsc = "asc";

    private String flag;

    private Integer isParent;

    private String parentFlag;

    private String finFlag;

    private Integer finFlagNum;
}
